home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD ROM Paradise Collection 4
/
CD ROM Paradise Collection 4 1995 Nov.iso
/
system
/
ffg202.zip
/
UTIL_BAT.ZIP
/
ATTROFF.BAT
next >
Wrap
DOS Batch File
|
1994-10-23
|
569b
|
19 lines
@echo off
cls
for %%f in (h H s S r R a A) do if %2.==%%f. goto OKAY
goto USAGE
:OKAY
:: This utility turns off the specified attribute for all specified files
:: that have the specified attribute flag set.
ffg /qm %1 /a%2 "/eattrib -%2 %%n"
@echo off
goto END
:USAGE
echo USAGE: %0 [DriveSpec:]FileMask [H,S,R,A]
echo.
echo H = hidden; S = System; R = Read Only; A = Archive
echo.
echo %0 turns off the specified attribute for files that have it set. The user
echo is given an opportunity to confirm for each file.
:END